Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Summary Table and Diagram of QuickDraw GX Objects

Three QuickDraw GX objects whose concepts are used for QuickTime vectors are summarized in Table 1 .

Table 1 QuickDraw GX objects 

Object

Description

Shape Defines the basic representation of a drawable entity. A shape object describes a geometry of a certain type (such as a path) and how the geometry is framed or filled when drawn. A shape also has references to its three related objects: style, ink, and transform.
Style Describes certain characteristics affecting how a shape is drawn. For paths, this includes the thickness of the pen, the starting and ending caps for line segments, joins between line segments, and the dash or pattern to be applied to the shape. For typographic shapes, it includes the font, text size, and typeface of the text.
Ink Describes a shape's color and its transfer mode (how the color is applied when the shape is drawn). Ink objects support many different kinds of color specification, and many different transfer modes.

Figure 3 shows the four objects used to represent a QuickDraw GX shape.

Figure 3 Basic components of a QuickDraw GX shape

Terminology Note

A QuickDraw GX shape is considered to be the combination of four objects just described. A shape object is one of the objects that make up the shape; it defines, among other characteristics, the shape's geometry, which is the description of the specific dimensions and location of the kind of shape that is to be drawn.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |